﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Value_DiscountA_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Value_DiscountA_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Value_DiscountA_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Value_DiscountA_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Value_DiscountA_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_Value_DiscountA_Gridview", "No");
        [Column]
        public string A_Coll_No { get { return _A_Coll_No; } set { _A_Coll_No = value; EntityState.FieldChange("A_Coll_No"); } } private string _A_Coll_No; public static FieldInfo a_Coll_No = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Coll_No");
        [Column]
        public string A_Description { get { return _A_Description; } set { _A_Description = value; EntityState.FieldChange("A_Description"); } } private string _A_Description; public static FieldInfo a_Description = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Description");
        [Column]
        public string A_Scale_quantity { get { return _A_Scale_quantity; } set { _A_Scale_quantity = value; EntityState.FieldChange("A_Scale_quantity"); } } private string _A_Scale_quantity; public static FieldInfo a_Scale_quantity = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Scale_quantity");
        [Column]
        public string A_Amount { get { return _A_Amount; } set { _A_Amount = value; EntityState.FieldChange("A_Amount"); } } private string _A_Amount; public static FieldInfo a_Amount = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Amount");
        [Column]
        public string A_Unit { get { return _A_Unit; } set { _A_Unit = value; EntityState.FieldChange("A_Unit"); } } private string _A_Unit; public static FieldInfo a_Unit = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Unit");
        [Column]
        public string A_Per { get { return _A_Per; } set { _A_Per = value; EntityState.FieldChange("A_Per"); } } private string _A_Per; public static FieldInfo a_Per = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Per");
        [Column]
        public string A_Uom { get { return _A_Uom; } set { _A_Uom = value; EntityState.FieldChange("A_Uom"); } } private string _A_Uom; public static FieldInfo a_Uom = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Uom");
        [Column]
        public string A_Calculat_Type { get { return _A_Calculat_Type; } set { _A_Calculat_Type = value; EntityState.FieldChange("A_Calculat_Type"); } } private string _A_Calculat_Type; public static FieldInfo a_Calculat_Type = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Calculat_Type");
        [Column]
        public string A_ScaleBasis { get { return _A_ScaleBasis; } set { _A_ScaleBasis = value; EntityState.FieldChange("A_ScaleBasis"); } } private string _A_ScaleBasis; public static FieldInfo a_ScaleBasis = new FieldInfo("TW_Value_DiscountA_Gridview", "A_ScaleBasis");
        [Column]
        public string A_Valid_From { get { return _A_Valid_From; } set { _A_Valid_From = value; EntityState.FieldChange("A_Valid_From"); } } private string _A_Valid_From; public static FieldInfo a_Valid_From = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Valid_From");
        [Column]
        public string A_Valid_To { get { return _A_Valid_To; } set { _A_Valid_To = value; EntityState.FieldChange("A_Valid_To"); } } private string _A_Valid_To; public static FieldInfo a_Valid_To = new FieldInfo("TW_Value_DiscountA_Gridview", "A_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Value_DiscountA_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Value_DiscountA_Gridview", "Status");

    }
}
